package org.zachary.agent.application;

import jakarta.transaction.Transactional;
import org.springframework.stereotype.Service;
import org.zachary.agent.domain.service.FeignService;

@Service
public class FeignTestService {
    private final FeignService feignService;

    public FeignTestService(final FeignService feignService) {
        this.feignService = feignService;
    }

    @Transactional
    public String sayHello() {
        return feignService.get();
    }
}
